﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataAccessLayer;
using BLToolkit.Mapping;
using BLToolkit.DataAccess;


namespace Entities
{
    [TableName("TaiKhoan")]
    public class TaiKhoan : BaseEntity<TaiKhoan>
    {
        /// <summary>
        /// Lấy và gán Username
        /// </summary>
        [MapField("Username"), PrimaryKey]
        public string Username { get; set; }

        /// <summary>
        /// Lấy và gán Password
        /// </summary>
        [MapField("Password")]
        public string Password { get; set; }
    }
}
